<template>
  <div>
    <el-row style="background:#ffffff;padding:10px">
      <el-breadcrumb separator-class="el-icon-arrow-right" style="float:left;margin-top:10px">
        <el-breadcrumb-item :to="{ path: '/' }">行程</el-breadcrumb-item>
        <el-breadcrumb-item>行程处理</el-breadcrumb-item>
      </el-breadcrumb>
      <el-button
        type="success"
        plain
        size="small"
        icon="el-icon-refresh-right"
        style="float:right;"
        @click="$refs.refOrderListView.setPagesize(15);"
      ></el-button>
    </el-row>
    <v-OrderListView ref="refOrderListView" @refreshOrderNumberEvent2="tEvent"></v-OrderListView>
  </div>
</template>


<style >
</style>



<script>
import { getRequestHeader, loginApi, getThirdCompanyApi } from "../api/user.js";
import { getNowFormatDate, getWeekToday } from "../api/util.js";
import {
  queryControllerOrdersApi,
  getDriversApi,
  getCarsApi,
  dispatchOrderApi,
  dispatchThirdCompanyApi,
  closeOrderApi
} from "../api/order.js";
import OrderListView from "./widget/OrderListView.vue";
import { Loading } from "element-ui";
export default {
  data() {
    return {};
  },
  components: {
    "v-OrderListView": OrderListView
  },
  created() {},
  mounted() {
    this.$refs.refOrderListView.setPagesize(15);
  },
  methods: {
    showFullLoading() {
      this.mFullLoading = Loading.service({
        lock: true,
        text: "Loading",
        spinner: "el-icon-loading",
        background: "rgba(0, 0, 0, 0.7)"
      });
    },
    clsoeFullLoading() {
      if (this.mFullLoading) {
        this.mFullLoading.close();
      }
    },
    tEvent(args) {
      this.$emit("refreshOrderNumberEvent1", "1");
    }

    //----------over methods------
  }
};
</script>